package cn.exrick.xboot.modules.base.dao.mapper;

import cn.exrick.xboot.modules.base.entity.User;
import cn.exrick.xboot.modules.commonLink.entity.CommonLink;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: njp
 * @Date: 2020/07/07/10:12
 * @Description:
 */
public interface UserMapper  extends BaseMapper<User> {

    /**
     * 分页获取user
     * @param page
     * @return
     */
    @Select("SELECT idcard FROM `t_user`")
    IPage<User> getUserByPage(Page page);



}
